<?php

namespace App\Kuafu\Statistics\Enum;

use App\Kuafu\Base\Enum\BaseCodeEnum;

class StatisticsCodeEnum extends BaseCodeEnum
{
    const ERR_STATISTICS_PARAM_VALID  = 421001;
    const ERR_STATISTICS_DB_ADD       = 421002;
    const ERR_STATISTICS_DB_SET       = 421003;
    const ERR_STATISTICS_DB_DEL       = 421004;
    const ERR_STATISTICS_DB_PATCH     = 421005;
    const ERR_STATISTICS_ID_NOT_EXIST = 421006;
    const ERR_QUERY_DATA_EMPTY        = 421007;

    const CODE_TEXT = [
        self::ERR_STATISTICS_PARAM_VALID  => "参数校验错误",
        self::ERR_STATISTICS_DB_ADD       => "新增失败",
        self::ERR_STATISTICS_DB_SET       => "编辑失败",
        self::ERR_STATISTICS_DB_DEL       => "删除失败",
        self::ERR_STATISTICS_DB_PATCH     => "上下架失败",
        self::ERR_STATISTICS_ID_NOT_EXIST => "ID记录不存在",
        self::ERR_QUERY_DATA_EMPTY        => "查询数据为空",
    ];
}
